<!DOCTYPE html>
<html>
<head>
    <title>会员管理:通过审核列表</title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <Row :gutter="16">
            <div class="search-group">
                <i-col span="3">
                    <i-input v-model="q.name" @on-enter="query" placeholder="用户名"/>
                </i-col>
                <i-col span="3">
                    <i-input v-model="q.uid" @on-enter="query" placeholder="用户编号"/>
                </i-col>

                <i-button @click="query">查询</i-button>
                <i-button @click="reloadSearch">重置</i-button>
            </div>
            <div class="buttons-group">
                #if($shiro.hasPermission("audit:info"))
                <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;查看</i-button>
                #end
                #if($shiro.hasPermission("audit:delete"))
                <i-button type="error" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</i-button>
                #end
            </div>
        </Row>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <Card v-show="!showList">
        <p slot="title">{{title}}</p>
        <i-form :model="audit" :label-width="80">
            <Form-item label="编号" prop="id">
                <i-input v-model="audit.id" placeholder="编号" disabled/>
            </Form-item>
            <Form-item label="用户编号" prop="userId">
                <i-input v-model="audit.userId" placeholder="用户编号" disabled/>
            </Form-item>
            <Form-item label="真实姓名" prop="name">
                <i-input v-model="audit.name" placeholder="真实姓名" disabled/>
            </Form-item>
            <Form-item label="证件类型" prop="type">
                <i-input v-model="audit.type" placeholder="证件类型" disabled/>
            </Form-item>
            <Form-item label="证件号" prop="idCardNo">
                <i-input v-model="audit.idCardNo" placeholder="证件号" disabled/>
            </Form-item>
            <Row>
                <i-col span="16">
                    <Form-item label="正面图" prop="frontImg">
                        <i-input v-model="audit.frontImg" placeholder="正面图" disabled/>
                    </Form-item>
                </i-col>
                <i-col span="3">
                    <Form-item :label-width="1">
                        <i-button icon="eye" @click="eyeImageFront">预览图片</i-button>
                    </Form-item>
                </i-col>
            </Row>
            <Row>
                <i-col span="16">
                    <Form-item label="反面图" prop="reverseImg">
                        <i-input v-model="audit.reverseImg" placeholder="反面图" disabled/>
                    </Form-item>
                </i-col>
                <i-col span="3">
                    <Form-item :label-width="1">
                        <i-button icon="eye" @click="eyeImageReverse">预览图片</i-button>
                    </Form-item>
                </i-col>
            </Row>
            <Form-item label="审核日期" prop="retailPrice">
                <i-input v-model="audit.createDate" placeholder="创建日期"/>
            </Form-item>

            <Form-item>
                <i-button type="warning" @click="reload" style="margin-left: 8px"/>返回</i-button>
            </Form-item>
        </i-form>
    </Card>
</div>

<script src="${rc.contextPath}/js/audit/audit-pass.js?_${date.systemTime}"></script>
</body>
</html>